package com.example.administrator.myapplication.Bean;

/**
 * Created by Administrator on 2019/10/5 0005.
 */

public class AjaxResult {
    private String msg;
    private int code;
    public static final int  SUCCESS_CODE = 0;//操作成功
    public static final int  FAIL_CODE = 1;//操作失败
    public static final int  ERROR_CODE = 500;// 错误代码

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
